package com.eastmountain.chinese.common;


public class HTMLStrings {

    public final static String nl = "\n";
    public final static String meta = "<meta http-equiv=\"Content-Type\" content=\"text/html;charset=utf-8\">" + HTMLStrings.nl
        + "<meta name=\"description\" content=\"Using striped tables to display data with CSS and JavaScript\">" + HTMLStrings.nl
        + "<meta name=\"keywords\" content=\"Chinese, pinyin, flashcards, words, review\">"
        + "</meta>";

    public final static String bodyStart = HTMLStrings.nl + "<body>" + HTMLStrings.nl;
    public final static String bodyEnd = HTMLStrings.nl + "</body>" + HTMLStrings.nl;
    public final static String htmlEnd = "</html>" + HTMLStrings.nl;

    public final static String htmlTextComponentBegin = "<html>" + HTMLStrings.nl + "<head>" + HTMLStrings.nl;
    public final static String htmlFileBegin = "<html xmlns=\"http://www.w3.org/1999/xhtml\">" + HTMLStrings.nl + "<head>" + HTMLStrings.nl + HTMLStrings.meta + HTMLStrings.nl;

    public final static String htmlStart = HTMLStrings.htmlTextComponentBegin + HTMLStrings.nl;
    public final static String htmlBody  = HTMLStrings.bodyStart + HTMLStrings.nl + HTMLStrings.bodyEnd + HTMLStrings.nl;

    public final static String css       = "<style type=\"text/css\">" + HTMLStrings.nl

                        +  "<--" + HTMLStrings.nl

                        + "body {" + HTMLStrings.nl
                        + "    font: normal 11px auto \"Trebuchet MS\", Verdana, Arial, Helvetica, sans-serif;" + HTMLStrings.nl
                        + "    color: #4f6b72;" + HTMLStrings.nl
                        + "    background: #E6EAE9;" + HTMLStrings.nl
                        + "}" + HTMLStrings.nl

                        + "a {" + HTMLStrings.nl
                        + "    color: #c75f3e;" + HTMLStrings.nl
                        + "}" + HTMLStrings.nl

                        + "table {" + HTMLStrings.nl
                        + "    border: thin;" + HTMLStrings.nl
                        + "    border-spacing: 5px;" + HTMLStrings.nl
                        //+ "    margin: 1em;" + nl
                        + "    margin-left: 10%;" + HTMLStrings.nl
                        + "    margin-right: 10%;" + HTMLStrings.nl
                        + "    font-weight: bold;" + HTMLStrings.nl
                        + "    border: thin;" + HTMLStrings.nl

                        + "}" + HTMLStrings.nl

                        + "#mytable {" + HTMLStrings.nl
                        + "    padding: 0;" + HTMLStrings.nl
                        + "    margin: 0;" + HTMLStrings.nl
                        + "    border-top: 1px solid Black;" + HTMLStrings.nl
                        + "    border-right: 1px solid Black;" + HTMLStrings.nl
                        + "    border-bottom: 1px solid Black;" + HTMLStrings.nl
                        + "    border-left: 1px solid Black;" + HTMLStrings.nl
                        + "}" + HTMLStrings.nl

                        + "#mysmalltable {" + HTMLStrings.nl
                        + "    width: 85px;" + HTMLStrings.nl
                        + "    border-style: solid;" + HTMLStrings.nl
                        + "    border-width: 1px;" + HTMLStrings.nl
                        + "    border-color: Black;" + HTMLStrings.nl
                        + "}" + HTMLStrings.nl

                        + "caption {" + HTMLStrings.nl
                        + "    padding: 0 0 5px 0;" + HTMLStrings.nl
                        + "    font: bold 14px \"Trebuchet MS\", Verdana, Arial, Helvetica, sans-serif;" + HTMLStrings.nl
                        + "    text-align: center;" + HTMLStrings.nl
                        + "}" + HTMLStrings.nl

                        + "th {" + HTMLStrings.nl
                        + "    font: bold 11px \"Trebuchet MS\", Verdana, Arial, Helvetica, sans-serif;" + HTMLStrings.nl
                        + "    color: #4f6b72;" + HTMLStrings.nl
                        + "    border-right: 1px solid #C1DAD7;" + HTMLStrings.nl
                        + "    border-bottom: 1px solid #C1DAD7;" + HTMLStrings.nl
                        + "    border-top: 1px solid #C1DAD7;" + HTMLStrings.nl
                        + "    width: 42px;" + HTMLStrings.nl
                        + "    letter-spacing: 2px;" + HTMLStrings.nl
                        + "    text-transform: uppercase;" + HTMLStrings.nl
                        + "    text-align: center;" + HTMLStrings.nl
                        + "    background: #CAE8EA url(images/bg_header.jpg) no-repeat;" + HTMLStrings.nl
                        + "}" + HTMLStrings.nl

                        + "th.definition {" + HTMLStrings.nl
                        + "    width: 180px;" + HTMLStrings.nl
                        + "}" + HTMLStrings.nl

                        + "th.narrow {" + HTMLStrings.nl
                        + "    width: 30px;" + HTMLStrings.nl
                        + "}" + HTMLStrings.nl

                        + "th.nobg {" + HTMLStrings.nl
                        + "    border-right: 1px solid #C1DAD7;" + HTMLStrings.nl
                        + "    border-bottom: 0;" + HTMLStrings.nl
                        + "    border-top: 0;" + HTMLStrings.nl
                        + "    border-left: 0;" + HTMLStrings.nl
                        + "    background: none;" + HTMLStrings.nl
                        + "    width: 40px;" + HTMLStrings.nl
                        + "}" + HTMLStrings.nl

                        + "tr {" + HTMLStrings.nl
                        + "    background: #F5F2D2;" + HTMLStrings.nl
                        + "    color: #4f6b72;" + HTMLStrings.nl
                        + "}" + HTMLStrings.nl

                        + "tr.alt {" + HTMLStrings.nl
                        + "    background: #F5FAFA;" + HTMLStrings.nl
                        + "    color: #797268;" + HTMLStrings.nl
                        + "}" + HTMLStrings.nl

                        + "td {" + HTMLStrings.nl
                        //+ "    background: #F5F2D2;" + nl
                        + "    text-align: right;" + HTMLStrings.nl
                        //+ "    color: #4f6b72;" + nl
                        //+ "    width: 20px;" + nl
                        + "}" + HTMLStrings.nl

                        + "td.center {" + HTMLStrings.nl
                        + "    text-align: center;" + HTMLStrings.nl
                        + "}" + HTMLStrings.nl

                        + "td.left {" + HTMLStrings.nl
                        + "    text-align: left;" + HTMLStrings.nl
                        + "}" + HTMLStrings.nl

                        + "td.right {" + HTMLStrings.nl
                        + "    text-align: right;" + HTMLStrings.nl
                        + "}" + HTMLStrings.nl

                        + "td.alt {" + HTMLStrings.nl
                        + "    background: #F5FAFA;" + HTMLStrings.nl
                        + "    color: #797268;" + HTMLStrings.nl
                        + "}" + HTMLStrings.nl

                        + "td.left {" + HTMLStrings.nl
                        + "    text-align: left;" + HTMLStrings.nl
                        + "}" + HTMLStrings.nl

                        + "td.center {" + HTMLStrings.nl
                        + "    text-align: center;" + HTMLStrings.nl
                        + "}" + HTMLStrings.nl

                        + "th.spec {" + HTMLStrings.nl
                        + "    border-left: 1px solid #C1DAD7;" + HTMLStrings.nl
                        + "    background: #fff url(images/bullet1.gif) no-repeat;" + HTMLStrings.nl
                        + "    font: bold 10px \"Trebuchet MS\", Verdana, Arial, Helvetica, sans-serif;" + HTMLStrings.nl
                        + "}" + HTMLStrings.nl

                        + "th.specalt {" + HTMLStrings.nl
                        + "    border-left: 1px solid #C1DAD7;" + HTMLStrings.nl
                        + "    border-top: 0;" + HTMLStrings.nl
                        + "    background: #f5fafa url(images/bullet2.gif) no-repeat;" + HTMLStrings.nl
                        + "    font: bold 10px \"Trebuchet MS\", Verdana, Arial, Helvetica, sans-serif;" + HTMLStrings.nl
                        + "    color: #797268;" + HTMLStrings.nl
                        + "}" + HTMLStrings.nl

                        + "-->" + HTMLStrings.nl

                        + "</style>" + HTMLStrings.nl

                        + "</head>" + HTMLStrings.nl;

}
